/*
 * @Author: your name
 * @Date: 2022-03-23 20:10:49
 * @LastEditTime: 2022-03-23 20:15:31
 * @LastEditors: Please set LastEditors
 * @FilePath: \VUE\app\src\mock\mockServe.js
 */
//引入mockjs
import Mock from 'mockjs'
//引入json数据 [json没有对外暴露但是可以直接引入 ****webpack默认暴露的是图片和json数据格式]
import banner from './banner.json'
import floor from './floor.json'

//mock数据:第一个参数请求地址  第二个参数：请求数据
Mock.mock("/mock/banner",{code:200,data:banner})
Mock.mock("/mock/floor",{code:200,data:floor})


